package org.example.maven.pojo.exhibition.list;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
@Data
public class AddExhibition {
    private int id;
    private String name;
    private String description;
    private String exhiType;
    private String location;
    private String coverImage;
    private int[] exhiClass;
    private int status;
    private LocalDateTime createdAt;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") // 匹配前端格式
    private LocalDateTime startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") // 匹配前端格式
    private LocalDateTime endDate;
}
